<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS字体属性相关</title>
    <style>
        h2 {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
        }
        p {
            font-family: cursive;
            font-size: 24px;
            font-weight: 100;
        }
        em {
            font-style: normal;
        }
        div {
            /* font: font-style font-weight font-size/line-height font-family */
            font: 100 45px '微软雅黑';
        }
    </style>
</head>

<body>
    <h2>沁园春·雪</h2>
    <p><em>北国风光</em>，千里冰封，万里雪飘。</p>
    <p>望长城内外，惟余莽莽；大河上下，顿失滔滔。</p>
    <p>山舞银蛇，原驰蜡象，欲与天公试比高。</p>
    <p>须晴日，看红装素裹，分外妖娆。</p>
    <p>江山如此多娇，引无数英雄竞折腰。</p>
    <p>惜秦皇汉武，略输文采；唐宗宋祖，稍逊风骚。</p>
    <p>一代天骄，成吉思汗，只识弯弓射大雕。</p>
    <p>俱往矣，数风流人物，还看今朝。</p>
    <hr>
    <div>三生三世十里桃花</div>
</body>

</html>